<?php


namespace App\Consts\ErrorCode;

/**
 * 2位平台号+2位模块号+3位功能+3位业务码号
 * 内部平台号为10,消息模块10，基础功能为01，业务错误001
 *
 *
 * Class MessageErrorCode
 * @package App\Consts\ErrorCode
 */
class MessageErrorCode
{

    const CHECK_VALIDATION_ERROR = 101001001;
    const MESSAGE_CREATED_FAILED = 101001002;
    const MESSAGE_NOT_EXIST = 101001003;

    const COMMENT_TO_USER_NOT_FUND = 101002001;
    const COMMENT_USER_NOT_FUND = 101002002;
    const COMMENT_CONTENT_EMPTY = 101002003;

    const NOTICE_TO_USER_NOT_FUND = 101003001;
    const NOTICE_USER_NOT_FUND = 101003002;
    const NOTICE_CONTENT_EMPTY = 101003003;
    const NOTICE_TITLE_EMPTY = 101003004;

    const ORDER_TO_USER_NOT_FUND = 101004001;
    const ORDER_USER_NOT_FUND = 101004002;
    const ORDER_CONTENT_EMPTY = 101004003;
    const ORDER_TITLE_EMPTY = 101004004;

    const IM_USER_NOT_EXIST = 101005001;
    const IM_CREATED_FAILED = 101005002;
    const IM_DELETE_LIMIT = 101005003;
    const IM_BATCH_SEND_LIMIT = 101005004;
    const IM_BATCH_QUERY_LIMIT = 101005005;
    const IM_BATCH_BLACK_LIMIT = 101005006;
    const IM_REQUEST_FAILED = 101005007;

    const PUSH_BIND_ALIAS_FAILED = 101006001;
    const PUSH_UN_BIND_ALIAS_FAILED = 101006002;
    const PUSH_BIND_LABEL_FAILED = 101006003;
    const PUSH_QUERY_LABEL_FAILED = 101006004;
    const PUSH_BIND_PHONE_FAILED = 101006005;
    const PUSH_BIND_UN_PHONE_FAILED = 101006006;
    const PUSH_BIND_BLACK_FAILED = 101006007;
    const PUSH_REMOVE_BLACK_FAILED = 101006008;
    const PUSH_MESSAGE_TYPE_ERROR = 101006009;
    const PUSH_MESSAGE_METHOD_ERROR = 101006010;
    const PUSH_MESSAGE_ALIAS_ERROR = 101006011;
    const PUSH_MESSAGE_CID_ERROR = 101006012;
    const PUSH_MESSAGE_OBJECT_ERROR = 101006013;
    const PUSH_FAILED = 101006014;

    const IM_TO_USER_NOT_FUND = 101007001;
    const IM_USER_NOT_FUND = 101007002;
    const IM_CONTENT_EMPTY = 101007003;
}
